package com.atguigu.spzx.log.service.Impl;

import com.atguigu.spzx.log.mapper.SysOperLogMapper;
import com.atguigu.spzx.model.entity.system.SysOperLog;
import com.atguigu.spzx.log.service.SysOperLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @author LT
 * @create 2024-03-20-20:00
 */
@Service
public class SysOperLogServiceImpl implements SysOperLogService {

    @Autowired
    SysOperLogMapper sysOperLogMapper;

    @Async
    @Override
    public void save(SysOperLog sysOperLog) {
        sysOperLogMapper.save(sysOperLog);
    }
}
